package com.sanpu.kxe.business.card.contract;

import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.base.IBaseView;
import com.sanpu.kxe.business.card.bean.BankInfoOutput;

import java.util.List;

/**
 * Description：信用卡列表contract
 * Created by 薛勇军 on 2019/5/27.
 */

public interface CreditCardListContract {

    interface View extends IBaseView<Presenter> {
        /**
         * 显示列表数据
         */
        void showViewData(List<BankInfoOutput> outputs);
    }

    interface Presenter extends IBasePresenter {
        /**
         * 获取我的信用卡列表
         */
        void selectUrmBankPage();

        /**
         * 修改卡信息
         */
        void updateCardClick(BankInfoOutput infoOutput);

        /**
         * 查询计划
         */
        void queryCardClick(BankInfoOutput infoOutput);

        /**
         * 我要还款
         */
        void refundCardClick(BankInfoOutput infoOutput);
    }
}
